package tyk.pojo;

import java.math.BigDecimal;

/***
 *@title CartItems
 *@description <TODO description class purpose>
 *@author Tang'ya'kang
 *@VERSION 1.0.0
 *@CREATE 2023/5/17 22:21
 **/
public class CartItems {
    private Integer id;
    private String name;
    private Integer count;
    private BigDecimal price;
    private BigDecimal priceTocal;
    private Integer status;
    private Integer user_id;
    private Integer merchant_id;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(Integer merchant_id) {
        this.merchant_id = merchant_id;
    }

    public Integer getId() {
        return id;
    }

    public CartItems(Integer id, String name, Integer count, BigDecimal price, BigDecimal priceTocal, Integer status, Integer user_id, Integer merchant_id) {
        this.id = id;
        this.name = name;
        this.count = count;
        this.price = price;
        this.priceTocal = priceTocal;
        this.status = status;
        this.user_id = user_id;
        this.merchant_id = merchant_id;
    }

    public CartItems() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPriceTocal() {
        return priceTocal;
    }

    public void setPriceTocal(BigDecimal priceTocal) {
        this.priceTocal = priceTocal;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "CartItems{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", count=" + count +
                ", price=" + price +
                ", priceTocal=" + priceTocal +
                '}';
    }
}
